<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtVectorFieldArrow Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_vector_field_arrow.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_qwt_vector_field_arrow-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QwtVectorFieldArrow Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="qwt__vectorfield__symbol_8h_source.html">qwt_vectorfield_symbol.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtVectorFieldArrow:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="class_qwt_vector_field_arrow__inherit__graph.svg" width="166" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abda1679eac6d7b4b8b6cc635ba3b4925"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_vector_field_arrow.html#abda1679eac6d7b4b8b6cc635ba3b4925">QwtVectorFieldArrow</a> (qreal headWidth=6.0, qreal tailWidth=1.0)</td></tr>
<tr class="memdesc:abda1679eac6d7b4b8b6cc635ba3b4925"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_vector_field_arrow.html#abda1679eac6d7b4b8b6cc635ba3b4925">More...</a><br /></td></tr>
<tr class="separator:abda1679eac6d7b4b8b6cc635ba3b4925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8fb0fb191e7b17d0fbdb0451d084aff"><td class="memItemLeft" align="right" valign="top"><a id="af8fb0fb191e7b17d0fbdb0451d084aff"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_vector_field_arrow.html#af8fb0fb191e7b17d0fbdb0451d084aff">~QwtVectorFieldArrow</a> () override</td></tr>
<tr class="memdesc:af8fb0fb191e7b17d0fbdb0451d084aff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:af8fb0fb191e7b17d0fbdb0451d084aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac05cbe0b89b5227e22822b1c6aa5ca16"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_vector_field_arrow.html#ac05cbe0b89b5227e22822b1c6aa5ca16">setLength</a> (qreal <a class="el" href="class_qwt_vector_field_arrow.html#addc705d50c81a4f2d0437343bd059d7d">length</a>) override</td></tr>
<tr class="separator:ac05cbe0b89b5227e22822b1c6aa5ca16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addc705d50c81a4f2d0437343bd059d7d"><td class="memItemLeft" align="right" valign="top">virtual qreal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_vector_field_arrow.html#addc705d50c81a4f2d0437343bd059d7d">length</a> () const override</td></tr>
<tr class="separator:addc705d50c81a4f2d0437343bd059d7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a460c0ee1fed46ffd57f0709e9ea1da55"><td class="memItemLeft" align="right" valign="top"><a id="a460c0ee1fed46ffd57f0709e9ea1da55"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_vector_field_arrow.html#a460c0ee1fed46ffd57f0709e9ea1da55">paint</a> (QPainter *) const override</td></tr>
<tr class="memdesc:a460c0ee1fed46ffd57f0709e9ea1da55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the symbol/arrow. <br /></td></tr>
<tr class="separator:a460c0ee1fed46ffd57f0709e9ea1da55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_qwt_vector_field_symbol"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_vector_field_symbol')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_vector_field_symbol.html">QwtVectorFieldSymbol</a></td></tr>
<tr class="memitem:a0180db369ed4cc9ce379f9f87259e0ba inherit pub_methods_class_qwt_vector_field_symbol"><td class="memItemLeft" align="right" valign="top"><a id="a0180db369ed4cc9ce379f9f87259e0ba"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_vector_field_symbol.html#a0180db369ed4cc9ce379f9f87259e0ba">QwtVectorFieldSymbol</a> ()</td></tr>
<tr class="memdesc:a0180db369ed4cc9ce379f9f87259e0ba inherit pub_methods_class_qwt_vector_field_symbol"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a0180db369ed4cc9ce379f9f87259e0ba inherit pub_methods_class_qwt_vector_field_symbol"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa058379de261ea46836806f7ba1e95b8 inherit pub_methods_class_qwt_vector_field_symbol"><td class="memItemLeft" align="right" valign="top"><a id="aa058379de261ea46836806f7ba1e95b8"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_vector_field_symbol.html#aa058379de261ea46836806f7ba1e95b8">~QwtVectorFieldSymbol</a> ()</td></tr>
<tr class="memdesc:aa058379de261ea46836806f7ba1e95b8 inherit pub_methods_class_qwt_vector_field_symbol"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aa058379de261ea46836806f7ba1e95b8 inherit pub_methods_class_qwt_vector_field_symbol"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Arrow implementation that draws a filled arrow with outline, using a triangular head of constant width. </p>

<p class="definition">Definition at line <a class="el" href="qwt__vectorfield__symbol_8h_source.html#l00061">61</a> of file <a class="el" href="qwt__vectorfield__symbol_8h_source.html">qwt_vectorfield_symbol.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abda1679eac6d7b4b8b6cc635ba3b4925"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abda1679eac6d7b4b8b6cc635ba3b4925">&#9670;&nbsp;</a></span>QwtVectorFieldArrow()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtVectorFieldArrow::QwtVectorFieldArrow </td>
          <td>(</td>
          <td class="paramtype">qreal&#160;</td>
          <td class="paramname"><em>headWidth</em> = <code>6.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qreal&#160;</td>
          <td class="paramname"><em>tailWidth</em> = <code>1.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>The length is initialized by headWidth + 4</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">headWidth</td><td>Width of the triangular head </td></tr>
    <tr><td class="paramname">tailWidth</td><td>Width of the arrow tail</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_vector_field_arrow.html#ac05cbe0b89b5227e22822b1c6aa5ca16">setLength()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__vectorfield__symbol_8cpp_source.html#l00074">74</a> of file <a class="el" href="qwt__vectorfield__symbol_8cpp_source.html">qwt_vectorfield_symbol.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="addc705d50c81a4f2d0437343bd059d7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addc705d50c81a4f2d0437343bd059d7d">&#9670;&nbsp;</a></span>length()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">qreal QwtVectorFieldArrow::length </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>length of the symbol/arrow </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_vector_field_arrow.html#ac05cbe0b89b5227e22822b1c6aa5ca16">setLength()</a> </dd></dl>

<p>Implements <a class="el" href="class_qwt_vector_field_symbol.html#a1787b46abc657e989b32b2cceab8bf05">QwtVectorFieldSymbol</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__vectorfield__symbol_8cpp_source.html#l00090">90</a> of file <a class="el" href="qwt__vectorfield__symbol_8cpp_source.html">qwt_vectorfield_symbol.cpp</a>.</p>

</div>
</div>
<a id="ac05cbe0b89b5227e22822b1c6aa5ca16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac05cbe0b89b5227e22822b1c6aa5ca16">&#9670;&nbsp;</a></span>setLength()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtVectorFieldArrow::setLength </td>
          <td>(</td>
          <td class="paramtype">qreal&#160;</td>
          <td class="paramname"><em>length</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set the length of the symbol/arrow </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_vector_field_arrow.html#addc705d50c81a4f2d0437343bd059d7d">length()</a> </dd></dl>

<p>Implements <a class="el" href="class_qwt_vector_field_symbol.html#af40e032a493977db97f01f51aef4d54c">QwtVectorFieldSymbol</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__vectorfield__symbol_8cpp_source.html#l00085">85</a> of file <a class="el" href="qwt__vectorfield__symbol_8cpp_source.html">qwt_vectorfield_symbol.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_qwt_vector_field_arrow.html">QwtVectorFieldArrow</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
